<table>
  <tr>
    <th colspan="3"><h1>Listing Jobs</h1></th>
  </tr>
  <tr class="heading">
    <td class="width">Job title</td>
    <td>Location</td>
    <td>Salary</td>
  </tr>
  <% for job in @jobs %>
      <tr class="<%= cycle('even', 'odd') %>"> 
        <td><a href="/view/<%= job.id %>"><%= h(job.job_title) %></a></td>
        <td><%=h job.location %></td>
        <td><%=h job.salary %></td>
      </tr>
  <% end %>
</table>